common: env_sf: Add exclamation mark
authorPeng Fan <[email protected]>
Mon, 28 Mar 2016 09:26:27 +0000 (17:26 +0800)
committerTom Rini <[email protected]>
Fri, 1 Apr 2016 21:17:43 +0000 (17:17 -0400)
Add exclamation mark to the errmsg, when error and set_default_env.

Signed-off-by: Peng Fan <[email protected]>
Cc: Mario Schuknecht <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Ravi Babu <[email protected]>
Cc: York Sun <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
common/env_sf.c

index 892e6cbfb8bef3d54f956d60f788e1affbfa260c..273098ceb605a6b2059dadc44d45f37c392b2c68 100644 (file)
@@ -225,7 +225,7 @@ void env_relocate_spec(void)
        ret = env_import((char *)ep, 0);
        if (!ret) {
                error("Cannot import environment: errno = %d\n", errno);
-               set_default_env("env_import failed");
+               set_default_env("!env_import failed");
        }
 
 err_read: